Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Interface

Localizer<T>

interface Localizer<T>

Module: Neo.Localization
Assembly: Neo.Localization.Abstractions.dll
Source file: Localizer.rvn

Inherits: Localizer

A catalogue associated with resource type T. Lookup behavior is the same as Localizer. A provider determines how the type maps to a resource scope.

Implementing types

Documented types in this API reference. Indirect relationships are marked.

Properties

1 item
Culture: Culture Culture used for formatting resolved templates; independent of the fallback resource language. Inherited from Localizer.Culture · Defined by Localizer.Culture · Required implementation (no default).

Indexers

1 item
Item[key: string]: string Returns the stored translation, or the key itself when absent. Empty translations are present. Inherited from Localizer.Item · Defined by Localizer.Item · Required implementation (no default).

Methods

1 item
Find(key: string) -> Optional<string> Finds a translation without substituting the key when absent. Inherited from Localizer.Find · Defined by Localizer.Find · Required implementation (no default).